use crate::ltrail::linterface::InitCallback;
use std::thread;

#[derive(Default)]
pub struct InitCallbackImpl {}

impl InitCallback for InitCallbackImpl {
    fn onInitResult(&self, result: bool, reason: usize) {
        println!("onInitResult 内部线程： {:?}", thread::current());
        println!("实现了方法，onInitResult： result: {}, reason: {}", result, reason);
    }

    fn onOtherResult(&self, result: bool, reason: usize, data: String) {
        println!("onOtherResult 内部线程： {:?}", thread::current());
        println!("实现了方法，onInitResult： result: {}, reason: {}, data: {}", result, reason, data);
    }
}


